<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ page trimDirectiveWhitespaces="true" %>
<fmt:setLocale value="zh_CN"/>
<table class="tab-list shield-table-odd">
	<col width="60">
	<col width="">
	<col width="">
	<col width="">
	<col width="120">
	<col width="">
	<col width="">
	<col width="">
	<col width="150">
	<col width="115">
    <tr>
        <th>序号</th>
	    <th>中文名称</th>
	    <th>列名</th>
	    <th>列类型</th>
	    <th>列长度</th>
	    <th>默认值</th>
	    <th>别名</th>
	    <th>备注</th>
	    <th>创建时间</th>
        <th class="operate_icon">操作</th>
    </tr>
<c:forEach var="model" items="${pageBean.resultList }" varStatus="var">
    <tr>
        <td style="text-align: center;">${(pageBean.currentPage -1)*pageBean.pageSize+var.count }</td>
        
	   	<td >
            <div class="overflowNo" title="${model.showName }">${model.showName }</div>
        </td>
	   	<td >
            <div class="overflowNo" title="${model.columnName }">${model.columnName }</div>
        </td>
	   	<td >
            <div class="overflowNo" title="${model.columnType }">${model.columnType }</div>
        </td>
	   	<td >
            <div class="overflowNo" title="${model.dataSize }">${model.dataSize }</div>
        </td>
	   	<td >
            <div class="overflowNo" title="${model.defaultValue }">${model.defaultValue }</div>
        </td>
        <td >
            <div class="overflowNo" title="${model.aliasName }">${model.aliasName }</div>
        </td>
        <td >
            <div class="overflowNo" title="${model.remarks }">${model.remarks }</div>
        </td>
	   	<td >
            <div class="overflowNo" title="${model.createTime }">${model.createTime }</div>
        </td>
	
        <td>
        	<!-- href改为data-url -->
            <a data-url="${ctxPathA }/system/codegen/dbtoolcols/show" shieldParams="{'id':'${model.id }'}" class="shieldDialog shield-icon show" viewTitle="列字典详情" data-icon-title="查看列字典详情"
               viewWidth="500"></a>
            <a data-url="${ctxPathA }/system/codegen/dbtoolcols/toAddOrUpdate" shieldParams="{'id':'${model.id }'}"  class="shieldDialog shield-icon update" viewTitle="修改列字典" data-icon-title="修改列字典"
               viewWidth="500"></a>
            <a data-url="${ctxPathA }/system/codegen/dbtoolcols/del" shieldParams="{'id':'${model.id }'}"  class="shieldAjax shield-icon del" viewTitle="确定要删除该条记录吗?"></a>
        </td>
    </tr>
</c:forEach>
<c:if test="${empty pageBean.resultList }">
    <!-- 无数据时展示，有数据时展示上面的列表 -->
    <tr class="nodatatr_plugin">
        <td colspan="10" class="taCenter">暂无数据</td>
    </tr>
</c:if>
</table>
<%@include file="/WEB-INF/view/a/include/pagination.jsp"%>